<script>
import TheWelcome from '../components/TheWelcome.vue'
export default {
  data() {
    return {
      test: '首页'
    }
  },
  components: {
    TheWelcome
  },
  methods: {
    onChange() {
      this.test = '测试'
    }
  }
}
</script>

<template>
  <div @click="onChange">{{ test }}</div>
  <main>
    <TheWelcome />
  </main>
</template>
